@charset 'utf-8';
html {
  height: 100%;
  font-size: 5vw;
}
html,
body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
  background-color: #E7E7E7;
  /* background-image: url("../res/bk.jpg"); */
  background-attachment: fixed;
}
.messageContainer .panel_data {
  font-size: 0;
  -webkit-text-size-adjust: none;
}
.messageContainer .panel_data::after {
  font-size: 0;
  -webkit-text-size-adjust: none;
  height: 0;
  display: none;
}
.main_qudao_name {
  color: #fff;
  background-color: #218ec0;
}
.alt_qudao_name {
  color: #fff;
  background-color: #7dc8db;
}
.common_qudao_name {
  color: #fff;
  background-color: #663f8e;
}
.my_name {
  color: #fff;
  background-color: #36b3e9;
}
.anjie_type {
  color: #fff;
  background-color: #2894ff;
}
.container {
  padding-top: 2vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-size: cover;
  background-attachment: fixed;
  background-position: top center;
}
.container .messageContainer {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding-bottom: 5rem;
}
.container .messageBlock {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-top: .5rem;
  padding: 0.5rem;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  border-radius: 4px;
  overflow: hidden;
  line-height: 2rem;
}
.container .messageBlock .person_logo {
  -ms-flex-item-align: end;
      align-self: flex-end;
}
.container .messageBlock .name {
  font-size: 1.1rem;
  width: 2.2rem;
  height: 2.2rem;
  text-align: center;
  line-height: 2.2rem;
  border-radius: 50%;
  overflow: hidden;
}
.container .messageBlock .message_main_block {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding: 0.6rem;
  background-color: #fff;
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
          box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  margin-left: 10px;
  max-width: 85%;
}
.container .messageBlock .message_main_block:after {
  content: "";
  position: absolute;
  height: 10px;
  width: 20px;
  left: -10px;
  bottom: 0;
  background-image: url("../res/chat_arrow.png");
  background-size: cover;
}
.container .messageBlock .message_main_block .person_name,
.container .messageBlock .message_main_block .person_info,
.container .messageBlock .message_main_block .person_info_from {
  color: #8567eb;
  font-size: 0.6rem;
  line-height: 1.2rem;
}
.container .messageBlock .message_main_block .person_name span,
.container .messageBlock .message_main_block .person_info span,
.container .messageBlock .message_main_block .person_info_from span {
  font-size: 0.6rem;
}
.container .messageBlock .message_main_block .his_name {
  color: #4bad6f;
  font-size: 0.5rem;
  padding-left: 0.8rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  border-left: 2px solid #4bad6f;
  line-height: 1rem;
}
.container .messageBlock .message_main_block .message_content {
  font-size: 0.9rem;
  line-height: 1.17rem;
}
.container .messageBlock .message_time {
  color: #777;
  text-align: right;
  line-height: 0.8rem;
  font-size: 0.5rem;
  -ms-flex-item-align: end;
      align-self: flex-end;
}
.container .funcContainer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  padding: 0.3rem;
  min-height: 2.5rem;
  background-color: #fff;
}
.container .funcContainer .person_logo {
  -ms-flex-item-align: end;
      align-self: flex-end;
}
.container .funcContainer .person_logo .name {
  font-size: 1rem;
  width: 2rem;
  height: 2rem;
  text-align: center;
  line-height: 2rem;
  border-radius: 50%;
  overflow: hidden;
}
.container .funcContainer .message_input_wrap {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: left;
  outline: 0;
  /* text-indent: 1rem; */
  max-height: 5rem;
  padding: 0 15px 0 5px;
  overflow: auto;
  background-color: #fff;
}
/* .container .funcContainer .message_input_wrap .message_input {
  width: 95%;
  height: 100%;
  line-height: 100%;
  border: 0;
  outline: none;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 1px 1px 0 #ccc inset, -1px -1px 0 #ccc inset;
} */
.container .funcContainer .shutdown_btn_wrap,
.container .funcContainer .send_btn_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 3rem;
  padding-right: 1px;
  margin-right: 1px;
}
.container .funcContainer .shutdown_btn_wrap .shutdown_btn,
.container .funcContainer .send_btn_wrap .send_btn {
  text-align: center;
  color: #fff;
  background-color: #36b3e9;
  border-radius: 4px;
  height: 2rem; /* 跟logo看齐 */
  line-height: 100%;
  width: 100%;
  -ms-flex-item-align: end;
      align-self: flex-end;
  /* box-shadow: 1px 1px 0 #ccc inset, -1px -1px 0 #ccc inset; */
}
.weui-photo-browser-modal.weui-photo-browser-modal-visible {
  z-index: 10;
}
.weui-photo-browser-modal .photo-container {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.weui-photo-browser-modal .photo-container img {
  max-width: 100%;
  max-height: 80vh;
}